<?php
/*
 * @Author: 偻儸小卒[EdisonLiu_]
 * @Date: 2021-07-10 16:40:11
 * @LastEditors: 偻儸小卒[EdisonLiu_]
 * @LastEditTime: 2021-07-10 16:55:59
 * @Description: 
 */

namespace App\Http\Controllers\H5appApi\Ding;

use Hash;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Http\Controllers\Traits\DingDingTrait;

class DDingTestController extends Controller
{
    use DingDingTrait;
    // use ThrottlesLogins;
    //用户登录
    // public function getConfig(Request $request)
    // {
    //     $code = $request->get('code');

    //     $result = self::getUserInfoByCode($code);
    //     // 执行登录操作

    //     if ($result != null && $result->errcode == 0) {
    //         return response()->json(['code' => 20000, 'message' => '登录成功',  'data' => $result]);
    //     } else {
    //         return response()->json(['code' => $result->errcode, 'message' => $result->errmsg]);
    //     }
    // }
}
